﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FlyingClub.Models.ViewsModels
{
    public class PlaneCreateViewModel
    {
        public int ID { get; set; }

        [Required(ErrorMessage="Un Nom est requis")]
        public string Name { get; set; }

        [Required(ErrorMessage="Un numéro est requis")]
        public string Number { get; set; }

        [Required(ErrorMessage="Un prix horaire est requis")]
        public int HourRate { get; set; }
    }
}